home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / visulztn / saoimage / saoimage.lha / hfiles / scale.h < prev    next >
C/C++ Source or Header  |  1989-11-09  |  677b  |  18 lines

  1. #ifndef lint
  2. static char SccsScaleId[] = "%W%  %G%";
  3. #endif
  4.  
  5. /* Module:    Scale.h
  6.  * Purpose:    Define the range of accepted image values and other scale
  7.  *        histogram parameters
  8.  * Note:    Assumes full range of signed short
  9.  * Modified:    {0} Michael VanHilst    initial version        28 September 1988
  10.  *        {n} <who> -- <does what> -- <when>
  11.  */
  12.  
  13. #define SCALEBUFSZ 65536 /* size of buffer (full range of short 0x10000) */
  14. #define SCALEWIDTH 65534 /* range of image values allowed in histogram */
  15. #define SCALEMIN -32767     /* minimum image value allowed */
  16. #define SCALEMAX 32767     /* maximum image value allowed */
  17. #define SCALEOFF 32768     /* offset from allocated array to zero (0x8000) */
  18.